{% include 'typescript.header.j2' %}

export interface {{ table.derived.naming.class_name }} {
    {%- for column in columns.values() %}
    {%- if column.derived.java.type in ['LocalDate', 'LocalDateTime'] %}
    /**
     * 日期格式: {{ column.derived.ts.datetime_format }}
     * {%- if column.derived.ui.show_time %}
     * 包含时间
     * {%- else %}
     * 仅日期
     * {%- endif %}
     */
    {%- endif %}
    {{ column.naming.field_name }}: {{ column.derived.ts.type }};{%- endfor %}
}
